package com.anycc.cloud.common.util;

import org.apache.commons.lang3.StringUtils;

public final class PatternUtil {
    private PatternUtil() {
    }

    public static String like(String val) {
        return "%" + val + "%";
    }

    public static String trimLike(String val) {
        return like(StringUtils.trim(val));
    }
}
